package com.csair.seam.domain.model.param;

import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public abstract class AbstractPageParam {
	
	@TableField(exist = false)
	@ApiModelProperty(value="页码",notes = "起始页，默认从1开始",position=100,example="1")
	private long pageIndex=1;
	
	@TableField(exist = false)
	@ApiModelProperty(value="页宽",notes = "每页查询的行数,默认20",position=101,example="20")
	private int pageSize=20;
}
